<div>
  <button type="button" class="btn btn-warning me-2 text-nowrap" style="margin-left: 10px"
          @click="syncSiteBSkus">同步B站SKU
  </button>
</div>


@push('admin.product.edit.vue.method')
  syncSiteBSkus() {
  let that = this;
  $http.put('{{admin_route('paypal_site_a.sync_site_b_skus')}}', {ids:[{{$product['id']}}]}).then((res) => {
  console.log(res);
  if (res.code == 0) {
  layer.msg("发起同步请求，请稍后刷新界面检查")
  }
  })
  },
@endpush
